//
//  ServerAddressModel.m
//  YTwallet
//
//  Created by ZhangLin on 2019/3/14.
//  Copyright © 2019年 hadrlog. All rights reserved.
//

#import "ServerAddressModel.h"

@implementation ServerAddressModel

+ (instancetype)shareInstance{
    static ServerAddressModel *instance = nil;
    static dispatch_once_t  predicate;
    dispatch_once(&predicate, ^{
        instance = [[self alloc] init];
    });
    return instance;
}

- (instancetype)init{
    self = [super init];
    if (self) {
        //生产地址
//        self.TAnd0Addr = @"http://ykl.etonepay.com/";
        //测试地址
//        self.TAnd0Addr = @"http://192.168.1.136:8080/";
        //永震本机
//        self.TAnd0Addr = @"http://192.168.1.197:8080/";
        //生产地址
        self.TAnd0Addr = @"http://27.221.121.91:8080/";
        
    }
    return self;
}

-(NSString *)fullTAnd0AddrWithParameter:(NSString *)parameter{
    NSString *fullAddr = [NSString stringWithFormat:@"%@%@",self.TAnd0Addr,parameter];
    return fullAddr;
}

@end
